
#include "ProjectSettingsDlg.h"

ProjectSettingsDlg::ProjectSettingsDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style )
    : ProjectSettingsDialog( parent, id, title, pos, size, style )
{
}

ProjectSettingsDlg::~ProjectSettingsDlg(void)
{
}

//GetAuthor
StringUtil::String ProjectSettingsDlg::GetAuthor() const
{
    return mAuthorName->GetValue().ToAscii();
}

//SetAuthor
void ProjectSettingsDlg::SetAuthor( const StringUtil::String& author )
{
    mAuthorName->SetValue( author.c_str() );
}

//GetNotes
StringUtil::String ProjectSettingsDlg::GetNotes() const
{
    return mNotes->GetValue().ToAscii();
}

//SetNotes
void ProjectSettingsDlg::SetNotes( const StringUtil::String& notes )
{
    mNotes->SetValue( notes.c_str() );
}

//GetCopyright
StringUtil::String ProjectSettingsDlg::GetCopyright() const
{
    return mCopyright->GetValue().ToAscii();
}

//SetCopyright
void ProjectSettingsDlg::SetCopyright( const StringUtil::String& copyright )
{
    mCopyright->SetValue( copyright.c_str() );
}
